package cn.sundat.model;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;

import com.alibaba.fastjson.annotation.JSONField;

public class Category implements Serializable{
	
	private Long cate_id;
	private String  cate_name;
	private Integer state;
	
	@JSONField(serialize=false)
	private Set<News> news = new HashSet<News>();
	
	
	public Long getCate_id() {
		return cate_id;
	}

	public void setCate_id(Long cate_id) {
		this.cate_id = cate_id;
	}

	public String getCate_name() {
		return cate_name;
	}

	public void setCate_name(String cate_name) {
		this.cate_name = cate_name;
	}

	public Set<News> getNews() {
		return news;
	}

	public void setNews(Set<News> news) {
		this.news = news;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}
	
}
